package factory.multi;

import factory.normal.MailSender;
import factory.normal.Sender;
import factory.normal.SmsSender;

/**
 * @Author: 80305082
 * @Date: 2021/3/22
 * @Description: 多个工厂方法
 */
public class SendFactory {
    public Sender produceMail() {
        return new MailSender();
    }

    public Sender produceSms() {
        return new SmsSender();
    }
}
